package entity;

public class state{
	private int ax,ay;
	private int bx,by;
	public int getAx() {
		return ax;
	}
	public int getAy() {
		return ay;
	}
	public int getBx() {
		return bx;
	}
	public int getBy() {
		return by;
	}
	
	/* constructors
	 * */	
	public state(){
		ax=0;
		ay=0;
		bx=0;
		by=0;
	}
	public state(int ax,int ay,int bx,int by){
		this.ax=ax;
		this.ay=ay;
		this.bx=bx;
		this.by=by;
	}
	
	/*
	 * Return if it equals to the given state
	 * */
	public boolean eqauls(state another){
		if(ax==another.getAx()&&ay==another.getAy()&&bx==another.getBx()&&by==another.getBy())
			return true;
		else
			return false;
	}
}
